from google.appengine.ext import db

class TwitterUser(db.Model):
    id = db.IntegerProperty()
    name = db.StringProperty(multiline=True)
    screen_name = db.StringProperty()
    location = db.StringProperty(multiline=True)
    description = db.StringProperty(multiline=True)
    profile_image_url = db.StringProperty(multiline=True)
    url = db.StringProperty(multiline=True)
    user_created_at = db.DateTimeProperty()
    
    followers_count = db.IntegerProperty()
    friends_count = db.IntegerProperty()
    statuses_count = db.IntegerProperty()
    
    text = db.StringProperty(multiline=True)
    text_created_at = db.DateTimeProperty()
    text_id = db.IntegerProperty()
    text_source = db.StringProperty()
    
    is_protected = db.BooleanProperty()
    readed = db.BooleanProperty()


class FetchHelper(db.Model):
    screen_name = db.StringProperty()
    cursor = db.IntegerProperty()
    readtype = db.BooleanProperty()